package cn.dust.design.pattern.structural.facade.Advertisement;

public class CheckWord {
    private int basicAmoount=85;
    String advertisement;
    int amount;

    public CheckWord(String advertisement) {
        this.advertisement = advertisement;
    }

    public void setChargeAmount(){
        amount=advertisement.length()+basicAmoount;
    }

    public int getAmount(){
        return amount;
    }

}
